import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  // {
  //   path: '/',
  //   name: 'Home',
  //   component: Home
  // },
  {
    path: '/',
    name: 'Home',
    component: () => import('../views/Home.vue')
  },{
    path:'/overall',
    name:'Overall',
    component:()=>import('../views/overall/Overall-Main.vue')
  },{
    path:'/ecology',
    name:'Ecology',
    component:()=>import('../views/ecology/Ecology-Main.vue')
  },{
    path:'/construction',
    name:'Construction',
    component:()=>import('../views/construction/Construction-Main.vue')
  },{
    path:'/construction/compare',
    name:'ConstructionCompare',
    component:()=>import("../views/construction/Compare.vue")
  },{
    path:'/construction/design',
    name:'ConstructionDesign',
    component:()=>import('../views/construction/Design.vue')
  },{
    path:'/construction/field',
    name:'ConstructionField',
    component:()=>import('../views/construction/Field.vue')
  },{
    path:'/landscape',
    name:'Landscape',
    component:()=>import('../views/landscape/Landscape-Main.vue')
  },{
    path:'/management',
    name:'Management',
    component:()=>import('../views/management/Management-Main.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
